package com.apop.demo.encrypt.util.sm;


import com.apop.demo.encrypt.util.sm.cipher.SM3Digest;

public class FzSM3 {
	public static byte[] generateSM3HASH(byte[] src) {
		byte[] md = new byte[32];
		SM3Digest sm3 = new SM3Digest();
		sm3.update(src, 0, src.length);
		sm3.doFinal(md, 0);
		return md;
	}
}
